import Vue from 'vue'
import App from './App.vue'
import router from './router/router';
import ElementUI from 'element-ui';

import 'element-ui/lib/theme-chalk/index.css';

import moment from 'moment'
import {dateFormat} from "@/uitils/tool"; //导入文件

Vue.prototype.$moment = moment;//赋值使用
Vue.prototype.$dateFormat = dateFormat;
moment.locale('zh-cn');//需要汉化

Vue.use(ElementUI);

Vue.config.productionTip = false

export default new Vue({
    router,
    render: h => h(App),
}).$mount('#app')
